package com.csthink.common.infrastructure.enums;

import lombok.Getter;

/**
 * @author <a href="mailto:security.2009@live.cn">Mars</a>
 * @since 2023-09-11
 */
@Getter
public enum OpSystemConfigKeyEnum {

    ENABLE_SPRING_CACHE("enable_spring_cache", "true"),
    SYSTEM_CONFIG_HOTKEYS("system_config_hotkeys"),
    ENABLE_USE_USER_PERMISSION_CACHE("enable_use_user_permission_cache", "true");

    private final String key;
    private final String defaultValue;

    OpSystemConfigKeyEnum(String key) {
        this(key, null);
    }

    OpSystemConfigKeyEnum(String key, String defaultValue) {
        this.key = key;
        this.defaultValue = defaultValue;
    }

}
